#pragma once
#include <string>
#include "tinyxml2.h"
#include "Tokenizer.h"

class XMLReader
{
private:
	tinyxml2::XMLDocument game;
	std::string delim;
	tinyxml2::XMLElement* GetElem(std::string* path, int count, bool value = false);
public:
	XMLReader(void);
	~XMLReader(void);
	int GetValue(std::string path);
	tinyxml2::XMLElement* GetElement(std::string);
	int GetValueFromElement(tinyxml2::XMLElement* doc, std::string value);
};